package com.codebattery.domain.model;

import com.codebattery.config.DataDict;

import javax.persistence.*;

public class DictInfo {
    private Integer id;

    private String value;

    private String text;

    private Integer status;

    private String remark;

    private String group;

    @DataDict("group")
    private String groupName;

    public DictInfo(Integer id, String value, String text, Integer status, String remark, String group) {
        this.id = id;
        this.value = value;
        this.text = text;
        this.status = status;
        this.remark = remark;
        this.group = group;
    }

    public String getGroupName() {
        return groupName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String toString() {
      return "Dict{id=" + id + 
        ", value=" + value + 
        ", text=" + text + 
        ", status=" + status + 
        ", remark=" + remark + 
        ", group=" + group + 
        "}";
    }
}